<template>
  <y-button @click="clickHandler" shadow>按钮</y-button>
  <y-button type="primary" disabled plain>按钮</y-button>
  <y-button type="success" plain/>
  <y-button type="info" plain/>
  <y-button type="warnning" plain/>
  <y-button type="danger" plain size="mini"/>
  <y-input />
</template>

<script lang="ts">
import { defineComponent } from "vue";

export default defineComponent({
  name: "App",
  methods:{
    clickHandler(){
      console.log('111')
    }
  }
});
</script>

<style lang="less">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
.logo{
  width:50%;
  margin:0 auto;
  display:block;
}
</style>
